FindOne(ctx context.Context, {{.lowerStartCamelPrimaryKey}} {{.dataType}}) (*{{.upperStartCamelObject}}, error)
Trans(ctx context.Context,fn func(context context.Context,session sqlx.Session) error) error
FindSum(ctx context.Context,sumBuilder squirrel.SelectBuilder,field string) (int64,error)
FindCount(ctx context.Context,countBuilder squirrel.SelectBuilder,field string) (int64,error)
FindMaxInt64(ctx context.Context,sumBuilder squirrel.SelectBuilder) (int64,error)
FindMinInt64(ctx context.Context,sumBuilder squirrel.SelectBuilder) (int64,error)
FindAll(ctx context.Context,rowBuilder squirrel.SelectBuilder,orderBy string) ([]*{{.upperStartCamelObject}},error)
FindPageListByPage(ctx context.Context,rowBuilder squirrel.SelectBuilder,page ,pageSize int64,orderBy string) ([]*{{.upperStartCamelObject}},error)
FindPageListByIdDESC(ctx context.Context,rowBuilder squirrel.SelectBuilder ,preMinId ,pageSize int64) ([]*{{.upperStartCamelObject}},error)
FindPageListByIdASC(ctx context.Context,rowBuilder squirrel.SelectBuilder,preMaxId ,pageSize int64) ([]*{{.upperStartCamelObject}},error)

RowBuilder() squirrel.SelectBuilder
CountBuilder(field string) squirrel.SelectBuilder
SumBuilder(field string) squirrel.SelectBuilder
MaxBuilder(field string) squirrel.SelectBuilder
MinBuilder(field string) squirrel.SelectBuilder